//202302104030-王桉锦
package src.main.java.cn.edu.sdjzu.xg.eagle.entity;

public class Student implements Actor{
    private Long id;
    private String name;
    private String no;
    private User user;
    public Student(Long id, String name, String no) {
        this.id = id;
        this.name = name;
        this.no = no;
    }
    @Override
    public Long getId() {
        return id;
    }
    @Override
    public void setId(Long id) {
        this.id = id;
    }
    @Override
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    @Override
    public String getNo() {
        return no;
    }
    @Override
    public void setNo(String no) {
        this.no = no;
    }
    @Override
    public User getUser(User user){
        return user;
    }
    @Override
    public void setUser(User user) {
        this.user = user;
    }
}
